<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>【自写】综合案例-五彩导航</title>
    <style>
        a {
            width: 120px;
            height: 58px;
            color: white;
            font: normal 400 20px/54px "微软雅黑";
            text-align: center;
            text-decoration: none;
            display: inline-block;
        }

        #link1 {
            background: transparent url("images/bg1.png") no-repeat scroll center center;
        }

        #link1:hover {
            background: transparent url("images/bg11.png") no-repeat scroll center center;
        }

        #link2 {
            background: transparent url("images/bg2.png") no-repeat scroll center center;
        }

        #link2:hover {
            background: transparent url("images/bg22.png") no-repeat scroll center center;
        }

        #link3 {
            background: transparent url("images/bg3.png") no-repeat scroll center center;
        }

        #link3:hover {
            background: transparent url("images/bg5.png") no-repeat scroll center center;
        }

        #link4 {
            background: transparent url("images/bg4.png") no-repeat scroll center center;
        }

        #link4:hover {
            background: transparent url("images/bg3.jpg") no-repeat scroll center center;
        }
    </style>
</head>

<body>
    <a href="#" id="link1">五彩导航1</a>
    <a href="#" id="link2">五彩导航2</a>
    <a href="#" id="link3">五彩导航3</a>
    <a href="#" id="link4">五彩导航4</a>
</body>

</html>